<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>积分商城</title>
    <script src="/js/plugins/jquery/jquery.min.js"></script>
    <script src="/js/common.js"></script>
    <script src="/js/plugins/jrender/jrender.min.js"></script>

    <script src="/js/mall/flexible.js"></script>
    <script src="/js/mall/flexible_css.js"></script>
    <link rel="stylesheet" href="/css/mall/css1.css">
    <link rel="stylesheet" type="text/css" href="/css/mall/iconfont.css">
    <script src="/css/mall/iconfont.js"></script>
    <script src="/js/common.js"></script>

    <script type="application/javascript">
        $(function () {
            var user=JSON.parse(sessionStorage.getItem("user"))
            $.get("/goodsCollections/"+user.id,function (data) {
                console.log(data);
                var json={list:data}
                $(".commodities").renderValues(json,{
                    getHref:getHref
                })
            })
        })
    </script>
</head>
<body>
<!--header部分开始-->
<div class="B">
    <header>
        <ul>
            <li>
                <a href="javascript:history.go(-1);">
                    <span style="width: auto">返回上一页</span>
                </a>
            </li>
        </ul>
    </header>
    <!--header部分结束-->
    <!--  banner开始-->
    <div class="banner">
        <span>——收藏的商品——</span>
    </div>
    <!--  banner结束-->
    <!--footer开始-->
        <div class="footer commodities" >
            <ul render-loop="list">
                <li>
                    <a data-href="/productDetails.html?id=" render-key="list.commodity.id" render-fun="getHref">
                        <img render-src="list.commodity.picture" alt="">
                        <p render-html="list.commodity.name"></p>
                        <p render-html="list.commodity.price"></p>
                    </a>
                </li>
               <!-- <li><img src="img1/2.jpg" alt=""><p>衣服</p></li>
                <li><img src="img1/3.jpg" alt=""><p>衣服</p></li>
                <li><img src="img1/4.jpg" alt=""><p>衣服</p></li>
                <li><img src="img1/5.jpg" alt=""><p>衣服</p></li>
                <li><img src="img1/6.jpg" alt=""><p>衣服</p></li>-->
            </ul>
        </div>
</div>
<!--footer结束-->
<script src="./css/mall/iconfont.js"></script>

<!--切换图标结束-->
<script src="/js/mall/script.js"></script>
</body>
</html>